package com.hrs.core.mapper;

import com.hrs.enity.db.Privilege;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 纱雾休比酱
* @description 针对表【t_privilege(系统功能表)】的数据库操作Mapper
* @createDate 2022-12-05 23:04:48
* @Entity com.hrs.enity.db.Privilege
*/
@Mapper
public interface PrivilegeMapper extends BaseMapper<Privilege> {

    /**
     * 根据角色id获取某个角色可以访问的url
     * @return
     */
    List<String> listUrlByRoleId(@Param("roleId") Integer roleId);
}




